% groundtruth
config_gnt=[[0 0 0 1 0 0 2 0 0 3 0 0 4 1 4 0 0 5 0 0]',[1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1]'];

edges_gnt=[1 0 -1 0 0 
    2 1 -1 0 0 
    3 2 -1 0 0 
   10 3 1.4142 1.4142 99999
    4 3 -1 0 0 
    5 4 -1 0 0 
   10 5 1.4142 1.4142 99999];

id2config_gnt=[ 0             0
                1             0
                2             0
                3             0
                4             1
                5             1
                0             0
                0             0
                0             0
                0             0
                3             1];
            
% data
vertices=[0 0 0 0
          1 1 0 0
          2 2 0 0
          3 3 0 0
         10 4 1 0
          4 4 0 0
          5 5 0 0
         10 5 1 0];
edges=[1 0  -1.12   0.07    0.05    100 0 100 1000 0 0
    2 1     -0.95   0.10    0.02    100 0 100 1000 0 0
    3 2     -1.03   0.03    0.02    100 0 100 1000 0 0
   10 3      1.33   0.79    0       100 0 1000   0 0 99999
    4 3     -1.08   -0.29   0.04    100 0 100 1000 0 0
    5 4     -0.97   -0.08   0.04    100 0 100 1000 0 0
   10 5     1.24    2.35    0       100 0 1000   0 0 99999];